package net.rock.mapper;

import net.rock.pojo.Comment;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CommentMapper {
    void add(Comment comment);
    List<Comment> fetchByBookId(int bookId);
    void del(int bookId);
}
